# **********************************************************************
#
# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.0
# Generated from file `mic_in.ice'

import Ice, IcePy, __builtin__

# Start of module AcornMicIn
_M_AcornMicIn = Ice.openModule('AcornMicIn')
__name__ = 'AcornMicIn'

if not _M_AcornMicIn.__dict__.has_key('_t_audio'):
    _M_AcornMicIn._t_audio = IcePy.defineSequence('::AcornMicIn::audio', (), IcePy._t_float)

if not _M_AcornMicIn.__dict__.has_key('MicIn'):
    _M_AcornMicIn.MicIn = Ice.createTempClass()
    class MicIn(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_AcornMicIn.MicIn:
                raise RuntimeError('AcornMicIn.MicIn is an abstract class')

        def ice_ids(self, current=None):
            return ('::AcornMicIn::MicIn', '::Ice::Object')

        def ice_id(self, current=None):
            return '::AcornMicIn::MicIn'

        def ice_staticId():
            return '::AcornMicIn::MicIn'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def data(self, str, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_AcornMicIn._t_MicIn)

        __repr__ = __str__

    _M_AcornMicIn.MicInPrx = Ice.createTempClass()
    class MicInPrx(Ice.ObjectPrx):

        def data(self, str, _ctx=None):
            return _M_AcornMicIn.MicIn._op_data.invoke(self, ((str, ), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_AcornMicIn.MicInPrx.ice_checkedCast(proxy, '::AcornMicIn::MicIn', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_AcornMicIn.MicInPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_AcornMicIn._t_MicInPrx = IcePy.defineProxy('::AcornMicIn::MicIn', MicInPrx)

    _M_AcornMicIn._t_MicIn = IcePy.defineClass('::AcornMicIn::MicIn', MicIn, (), True, None, (), ())
    MicIn.ice_type = _M_AcornMicIn._t_MicIn

    MicIn._op_data = IcePy.Operation('data', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), _M_AcornMicIn._t_audio),), (), None, ())

    _M_AcornMicIn.MicIn = MicIn
    del MicIn

    _M_AcornMicIn.MicInPrx = MicInPrx
    del MicInPrx

# End of module AcornMicIn
